Constructing Skeletons in Clean The Bare Bones
نویسنده
چکیده
Skeletons are well-suited to structure parallel programming. They allow the easy use of some well-known parallel programming paradigms to construct portable, efficient programs. Much research has been focused on the use of skeletons in functional programming languages, because they can be expressed elegantly as higher order functions. On the other hand, little attention has been paid to an elementary weakness of skeletons: how to implement them. In this paper we will show that functional languages with some low level constructs for parallelism can be used to efficiently implement a range of high level skeletons. We will construct skeletons for data parallelism, for parallel I/O, and for stream processing. Our experiments demonstrate that no performance penalty needs to be paid, compared to more restrictive solutions.
منابع مشابه
Construction Kits as Learning Environments
Two software applications illustrate principles of microworld design. WayMaker is a tool for constructing maps and virtual scenes of cityscapes. With Bones, users build cartoon-like skeletons from images of dinosaur bones, and experiment with simulated legged locomotion in animating the creatures. Each kit is both a learning environment and a tool for learning research. Construction Kits as Lea...
متن کاملTuring Complete Catalytic Particle Computers
The Bare Bones language is a programming language with a minimal set of operations that exhibits universal computation. We present a conceptual framework, Chemical Bare Bones, to construct Bare Bones programs by programming the state transitions of a multifunctional catalytic particle. Molecular counts represent program variables, and are altered by the action of the catalytic particle. Chemica...
متن کاملCoral Skeletons Defend against Ultraviolet Radiation
BACKGROUND Many coral reef organisms are photosynthetic or have evolved in tight symbiosis with photosynthetic symbionts. As such, the tissues of reef organisms are often exposed to intense solar radiation in clear tropical waters and have adapted to trap and harness photosynthetically active radiation (PAR). High levels of ultraviolet radiation (UVR) associated with sunlight, however, represen...
متن کاملClean - CORBA Interface Supporting Pipeline Skeleton ∗
Modern functional programming deals with parallel and distributed computation. The lazy functional programming language Clean was extended for cluster computations using CORBA as middleware. The earlier Clean-CORBA interface supports developing and using skeletons for distributed and cluster computing in a limited way only. The interface user encounters three major problems. Clean skeletons are...
متن کاملBare Bones Particle Swarms with Jumps
Bare Bones PSO was proposed by Kennedy as a model of PSO dynamics. Dependence on velocity is replaced by sampling from a Gaussian distribution. Although Kennedy’s original formulation is not competitive to standard PSO, the addition of a component-wise jumping mechanism, and a tuning of the standard deviation, can produce a comparable optimisation algorithm. This algorithm, Bare Bones with Jump...
متن کامل